package com.xyz.springcloud.service;

import com.xyz.springcloud.entity.Payment;

/**
 * @author 肖咉卓
 */
public interface PaymentService {
    /**
     * 添加数据
     * @param payment
     * @return
     */
    public int addPayment(Payment payment);

    /**
     * 查询数据
     * @param id
     * @return
     */
    public Payment findPaymentId(Long id);
}
